<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>车辆停靠记录</title>
    <link href="../lib/layui/css/layui.css" rel="stylesheet" type="text/css" media="screen" />
    <script src="../lib/jquery-3.3.1.min.js" type="text/javascript" ></script>
    <script src="../lib/layui/layui.js" type="text/javascript" ></script>
    <script src="../js/cdsideparkmgr/sidepark.js" type="text/javascript" ></script>
    <script src="../js/cdsideparkmgr/parkRecord.js" type="text/javascript" ></script>
    <script type="text/html" id="barOperate">
        <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="record">停靠记录</a>
        <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="snapRecord">抓拍记录</a>
        <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="carInside">场内车辆</a>
    </script>
    <script type="text/html" id="barOperate2">
        <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="image">图像记录</a>
    </script>
</head>
<body class="layui-layout-body" style="background-color:white;padding: 10px">
    <div id="imageDiv" style="display: none">
        <form class="layui-form"  id="image_form" style="margin-top:1%">
            <div class="layui-upload-list">
                <img class="layui-upload-img" id="picture" />
            </div>

        </form>
    </div>

    <div id="passRecordDiv" style="display: none">
        <form class="layui-form" id="passRecord_form" style="margin-top:1%">
            <input type="hidden" id="projectId" name="projectId">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <div class="layui-form-label">车牌号:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="searchCarNo" autocomplete="off"
                               placeholder="车牌号">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">停靠区域:</label>
                    <div class="layui-input-inline" >
                        <select name="area" id="area" lay-filter="area" lay-search="">
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">停靠车位:</label>
                    <div class="layui-input-inline" >
                        <select name="stall" id="stall" lay-filter="stall" lay-search=""></select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">车辆类别:</label>
                    <div class="layui-input-inline" >
                        <select name="categoryId" id="categoryId" lay-filter="freeCategoryId">
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">停靠时间:</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openBeginDate" placeholder="开始时间">
                    </div>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openEndDate" placeholder="结束时间">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">驶离时间:</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openBeginDate2" placeholder="开始时间">
                    </div>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openEndDate2" placeholder="结束时间">
                    </div>
                </div>
                <button class="layui-btn layui-btn-normal" id="queryPassRecord" lay-submit="" lay-filter="queryPassRecord">查询</button>
                <button class="layui-btn" type="reset" >重置</button>
            </div>
            <table id="passRecordTable" lay-filter="passRecordTable" style="width: 100%;"></table>
        </form>
    </div>

    <div class="layui-tab-brief" lay-filter="docDemoTabBrief">
        <div style="margin-left:5px;margin-top:10px; height: 45px">
            <form class="layui-form">
                <div class="layui-inline">
                    <div class="layui-input-inline">项目名称:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="searchName" autocomplete="off"
                               placeholder="项目名称">
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-inline">项目编号:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="searchCode" autocomplete="off"
                               placeholder="项目编号">
                    </div>
                </div>
                <div class="layui-inline" >
                    <button class="layui-btn" lay-submit="" lay-filter="queryYard" >查询</button>
                    <button class="layui-btn" type="reset" >重置</button>
                </div>

            </form>
            <table id="myYardTable" lay-filter="myYardTable" style="width: 100%;"></table>

        </div>
    </div>
</body>
<div id="snapRecordDiv" style="display: none">
    <form class="layui-form" id="snapRecord_form" style="margin-top:1%">
        <input type="hidden" id="yardId2" name="yardId">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">抓拍日期:</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="capDate" placeholder="抓拍日期">
                </div>
            </div>
            <button class="layui-btn layui-btn-normal" id="querySnapRecord" lay-submit="" lay-filter="querySnapRecord">查询</button>
            <button class="layui-btn" type="reset" >重置</button>
        </div>
        <table id="snapRecordTable" lay-filter="snapRecordTable" style="width: 100%;"></table>
    </form>
</div>
<div id="carInsideDiv" style="display: none">
    <form class="layui-form" id="carInside_form1" style="margin-top:1%">
        <input type="hidden" id="projectId2" name="projectId">
        <div class="layui-form-item">
            <div class="layui-inline">
                <div class="layui-form-label" style="width: 120px" >场内车辆总数:
                    <label id="carInsideTotal" style="color: green">0</label>
                </div>
                <div class="layui-form-label">车牌号:</div>
                <div class="layui-input-inline" >
                    <input class="layui-input" id="searchCarNo3" autocomplete="off"
                           placeholder="车牌号">
                </div>
                <label class="layui-form-label">已停留时间:</label>
                <div class="layui-input-inline" >
                    <select name="stayTime" id="stayTime" lay-filter="stayTime">
                        <option value="">全部</option>
                        <option value="1">12h以内</option>
                        <option value="2">12至24h</option>
                        <option value="3">1至3天</option>
                        <option value="4">3至30天</option>
                        <option value="5">30至180天</option>
                        <option value="6">180天以上</option>
                    </select>
                </div>
                <button class="layui-btn" id="queryCarInside" lay-submit="" lay-filter="queryCarInside">查询</button>
                <button class="layui-btn" type="reset" >重置</button>
                <button class="layui-btn layui-btn-normal" id="artificialCorrect" type="button">人工纠正</button>
            </div>
        </div>
        <table id="carInsideTable" lay-filter="carInsideTable" style="width: 100%;"></table>
    </form>
</div>
<div id="artificialCorrectDiv" style="display: none">
    <form class="layui-form" id="carInside_form" style="margin-top:1%">
        <div class="layui-form-item">
            <h2 style="margin: 10px">是否确定将该车辆移出场内车辆?</h2>
            <div class="layui-form-label">备注:</div>
            <div class="layui-input-block">
                <textarea placeholder="备注内容" id="remark" name="remark" class="layui-textarea"></textarea>
            </div>
        </div>
    </form>
</div>
</html>